package com.foreveross.common.Exception;
//自定义异常 HttpClient请求获取异常
public class HttpClientException extends RuntimeException {

	private static final long serialVersionUID = -8739584449839297462L;

	public HttpClientException(String msg,Throwable cause)
    {
        super(msg,cause);
    }
	
	/**
	 * 抛出自定义 HttpClient请求异常
	 * @param e
	 */
	public static void throwHttpClientException(Exception e) {
		throw new HttpClientException("HttpClient请求异常,请与管理员联系!",e);
	}
}
